﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bamboo.Utils
{
    /// <summary>
    /// 列宽
    /// </summary>
    [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false)]
    public class ColumnWidthAttribute: Attribute
    {
        /// <summary>
        /// 宽度值
        /// </summary>
        public int Value { get; set; }
        /// <summary>
        /// 列宽构造
        /// </summary>
        /// <param name="value">宽度值</param>
        public ColumnWidthAttribute(int value)
        {
            this.Value = value;
        }
    }
}
